TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt

SOURCES += \
    ../Applications/alt_ukf.c \
    ../Applications/aq_init.c \
    ../Applications/aq_mavlink.c \
    ../Applications/aq_timer.c \
    ../Applications/comm.c \
    ../Applications/command.c \
    ../Applications/compass.c \
    ../Applications/config.c \
    ../Applications/control.c \
    ../Applications/d_imu.c \
    ../Applications/digital.c \
    ../Applications/filer.c \
    ../Applications/imu.c \
    ../Applications/logger.c \
    ../Applications/main_ctl.c \
    ../Applications/mlinkrx.c \
    ../Applications/nav.c \
    ../Applications/nav_ukf.c \
    ../Applications/pid.c \
    ../Applications/run.c \
    ../Applications/signaling.c \
    ../Applications/supervisor.c \
    ../Applications/telemetry.c \
    ../Drivers/1wire.c \
    ../Drivers/adc.c \
    ../Drivers/analog.c \
    ../Drivers/cyrf6936.c \
    ../Drivers/dsm.c \
    ../Drivers/eeprom.c \
    ../Drivers/esc32.c \
    ../Drivers/ext_irq.c \
    ../Drivers/flash.c \
    ../Drivers/fpu.c \
    ../Drivers/gimbal.c \
    ../Drivers/hmc5983.c \
    ../Drivers/max21100.c \
    ../Drivers/motors.c \
    ../Drivers/mpu6000.c \
    ../Drivers/ms5611.c \
    ../Drivers/pwm.c \
    ../Drivers/rcc.c \
    ../Drivers/rtc.c \
    ../Drivers/sdio.c \
    ../Drivers/serial.c \
    ../Drivers/spi.c \
    ../FatFs/ff.c \
    ../Can/calib.c \
    ../Can/can.c \
    ../Can/canCalib.c \
    ../Can/canOSD.c \
    ../Can/canSensors.c \
    ../Can/canUart.c \
    ../Radio/futaba.c \
    ../Radio/grhott.c \
    ../Radio/ppm.c \
    ../Radio/radio.c \
    ../Radio/spektrum.c \
    ../Ublox/gps.c \
    ../Ublox/ublox.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_aes.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dac.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma2d.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_exti.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_md5.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_sha1.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_i2c.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_iwdg.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_ltdc.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rng.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sai.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c \
    ../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_wwdg.c \
    ../Usb/usb.c \
    ../Usb/usb_bsp.c \
    ../Usb/usb_core.c \
    ../Usb/usb_dcd.c \
    ../Usb/usb_dcd_int.c \
    ../Usb/usb_hcd.c \
    ../Usb/usb_hcd_int.c \
    ../Usb/usbd_cdc_msc_core.c \
    ../Usb/usbd_core.c \
    ../Usb/usbd_desc.c \
    ../Usb/usbd_ioreq.c \
    ../Usb/usbd_msc_bot.c \
    ../Usb/usbd_msc_data.c \
    ../Usb/usbd_msc_scsi.c \
    ../Usb/usbd_req.c \
    ../Usb/usbd_storage_msd.c \
    ../CoOS/kernel/core.c \
    ../CoOS/kernel/event.c \
    ../CoOS/kernel/flag.c \
    ../CoOS/kernel/hook.c \
    ../CoOS/kernel/kernelHeap.c \
    ../CoOS/kernel/mbox.c \
    ../CoOS/kernel/mm.c \
    ../CoOS/kernel/mutex.c \
    ../CoOS/kernel/queue.c \
    ../CoOS/kernel/sem.c \
    ../CoOS/kernel/serviceReq.c \
    ../CoOS/kernel/task.c \
    ../CoOS/kernel/time.c \
    ../CoOS/kernel/timer.c \
    ../CoOS/kernel/utility.c \
    ../Utility/algebra.c \
    ../Utility/getbuildnum.c \
    ../Utility/util.c \
    ../Math/matrix.c \
    ../Math/rotations.c \
    ../Math/srcdkf.c

include(deployment.pri)
qtcAddDeployment()

HEADERS += \
    ../Applications/alt_ukf.h \
    ../Applications/analog.h \
    ../Applications/aq.h \
    ../Applications/aq_init.h \
    ../Applications/aq_math.h \
    ../Applications/aq_mavlink.h \
    ../Applications/aq_timer.h \
    ../Applications/comm.h \
    ../Applications/command.h \
    ../Applications/compass.h \
    ../Applications/config.h \
    ../Applications/config_default.h \
    ../Applications/config_default_m4.h \
    ../Applications/control.h \
    ../Applications/d_imu.h \
    ../Applications/digital.h \
    ../Applications/filer.h \
    ../Applications/imu.h \
    ../Applications/integer.h \
    ../Applications/logger.h \
    ../Applications/mlinkrx.h \
    ../Applications/nav.h \
    ../Applications/nav_ukf.h \
    ../Applications/pid.h \
    ../Applications/quatos.h \
    ../Applications/run.h \
    ../Applications/signaling.h \
    ../Applications/supervisor.h \
    ../Applications/telemetry.h \
    ../Drivers/1wire.h \
    ../Drivers/adc.h \
    ../Drivers/board_6_1.h \
    ../Drivers/board_6_1a.h \
    ../Drivers/board_7_0.h \
    ../Drivers/board_dimu_v1.h \
    ../Drivers/board_dimu_v1_1.h \
    ../Drivers/board_dimu_v2.h \
    ../Drivers/board_dimu_v21.h \
    ../Drivers/board_m4.h \
    ../Drivers/board_m4_r3.h \
    ../Drivers/board_m4_r4.h \
    ../Drivers/board_m4_r5.h \
    ../Drivers/board_m4_r6.h \
    ../Drivers/cyrf6936.h \
    ../Drivers/cyrf6936_regs.h \
    ../Drivers/dsm.h \
    ../Drivers/eeprom.h \
    ../Drivers/esc32.h \
    ../Drivers/ext_irq.h \
    ../Drivers/flash.h \
    ../Drivers/fpu.h \
    ../Drivers/gimbal.h \
    ../Drivers/hmc5983.h \
    ../Drivers/max21100.h \
    ../Drivers/motors.h \
    ../Drivers/mpu6000.h \
    ../Drivers/ms5611.h \
    ../Drivers/pwm.h \
    ../Drivers/rcc.h \
    ../Drivers/rtc.h \
    ../Drivers/sdio.h \
    ../Drivers/serial.h \
    ../Drivers/spi.h \
    ../Drivers/stm32f4xx_conf.h \
    ../Libraries/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
    ../FatFs/diskio.h \
    ../FatFs/ff.h \
    ../FatFs/ffconf.h \
    ../Can/calib.h \
    ../Can/can.h \
    ../Can/canCalib.h \
    ../Can/canOSD.h \
    ../Can/canSensors.h \
    ../Can/canUart.h \
    ../Radio/futaba.h \
    ../Radio/grhott.h \
    ../Radio/ppm.h \
    ../Radio/radio.h \
    ../Radio/spektrum.h \
    ../Ublox/gps.h \
    ../Ublox/ublox.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/misc.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_adc.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_can.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_crc.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_cryp.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dac.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dbgmcu.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dcmi.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma2d.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_exti.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fmc.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fsmc.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_hash.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_i2c.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_iwdg.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_ltdc.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_pwr.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rng.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rtc.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sai.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sdio.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_spi.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_syscfg.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_tim.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_usart.h \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_wwdg.h \
    ../Usb/usb.h \
    ../Usb/usb_bsp.h \
    ../Usb/usb_conf.h \
    ../Usb/usb_core.h \
    ../Usb/usb_dcd.h \
    ../Usb/usb_dcd_int.h \
    ../Usb/usb_defines.h \
    ../Usb/usb_hcd.h \
    ../Usb/usb_hcd_int.h \
    ../Usb/usb_regs.h \
    ../Usb/usbd_cdc_msc_core.h \
    ../Usb/usbd_conf.h \
    ../Usb/usbd_core.h \
    ../Usb/usbd_def.h \
    ../Usb/usbd_desc.h \
    ../Usb/usbd_ioreq.h \
    ../Usb/usbd_msc_bot.h \
    ../Usb/usbd_msc_data.h \
    ../Usb/usbd_msc_mem.h \
    ../Usb/usbd_msc_scsi.h \
    ../Usb/usbd_req.h \
    ../CoOS/kernel/coocox.h \
    ../CoOS/kernel/CoOS.h \
    ../CoOS/kernel/OsCore.h \
    ../CoOS/kernel/OsError.h \
    ../CoOS/kernel/OsEvent.h \
    ../CoOS/kernel/OsFlag.h \
    ../CoOS/kernel/OsKernelHeap.h \
    ../CoOS/kernel/OsMM.h \
    ../CoOS/kernel/OsMutex.h \
    ../CoOS/kernel/OsQueue.h \
    ../CoOS/kernel/OsServiceReq.h \
    ../CoOS/kernel/OsTask.h \
    ../CoOS/kernel/OsTime.h \
    ../CoOS/kernel/OsTimer.h \
    ../CoOS/kernel/utility.h \
    ../CoOS/OsConfig.h \
    ../Utility/buildnum.h \
    ../Utility/getbuildnum.h \
    ../Utility/util.h \
    ../Math/srcdkf.h

DISTFILES += \
    ../Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f40_41xxx.s \
    ../Libraries/CMSIS/Lib/ARM/arm_cortexM4lf_math.lib

INCLUDEPATH += \
    ../Applications \
    ../Drivers \
    ../Libraries/CMSIS/Device/ST/STM32F4xx/Include \
    ../FatFs \
    ../Can \
    ../Radio \
    ../Ublox \
    ../Libraries/STM32F4xx_StdPeriph_Driver/inc \
    ../Usb \
    ../CoOS/kernel \
    ../CoOS \
    ../Utility \
    ../Math
